Extensions

The following extensions are available globally.

  • Extends the String type to conform to the IndexKey protocol.

    This allows String values to be used as keys in the indexing system managed by the IndexManager. By conforming to IndexKey, String gains compatibility with any functionality or constraints defined by the IndexKey protocol.

    Declaration

    Swift

    extension String: IndexKey