Documentation Language: Swift

Method

maybeOptional(for:)

Check whether the return type may need to be optional, e.g. when derived from a pointer that may be nil

func maybeOptional(for record: GIR.Record? = nil) -> Bool

Parameters

record

The record the receiver is associated with.

Return Value

true if this may be an optional.