booleanValue
functionBuild a SerializationSchema that returns `value` when it is a `boolean`, otherwise returns `defaultValue` (`false` by default).
Import
import { booleanValue } from '@modular/sdk/editor';Notes
- __NO_SIDE_EFFECTS__
Build a SerializationSchema that returns `value` when it is a `boolean`, otherwise returns `defaultValue` (`false` by default).