NSNull

extension NSNull/*: ScalarConstructible*/
extension NSNull: ScalarRepresentable
  • Construct an instance of NSNull, if possible, from the specified scalar.

    Declaration

    Swift

    public static func construct(from scalar: Node.Scalar) -> NSNull?

    Parameters

    scalar

    The Node.Scalar from which to extract a value of type NSNull, if possible.

    Return Value

    An instance of NSNull, if one was successfully extracted from the scalar.

ScalarRepresentable