Contents

subscript(_:as:)

Get a value in this dictionary as data.

Declaration

subscript(key: String, as type: RawSpan.Type = RawSpan.self) -> RawSpan? { get }

Parameters

  • key:

    The key under which to get the data.

  • type:

    The expected type of the resulting value.

Return Value

A RawSpan containing the data or nil if no such value was found.