Function constant

Synopsis

def constant(value, strict=False)

Description

Returns a ConstantField

Mentioned in

Source

Lines 15-19 in anyfig/fields.py.

def constant(value, strict=False):
  ''' Returns a ConstantField '''
  return ConstantField(value, strict)






Add Discussion as Guest

Log in