INNER CODE UNIT · TypeScript

GBoolean

stepci/garph · src/index.ts:322

class GBoolean extends Type<boolean, 'Boolean'> {
  constructor() {
    super()
    this.typeDef = {
      type: 'Boolean'
    }
  }

  optional() {
    return new GOptional<this>(this)
  }

  required() {
    this.typeDef.isRequired = true
    return this
  }

  list() {

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…