API ReferencefunctionsFunction: dispositionOf()Version: v0.0.3On this pageFunction: dispositionOf() dispositionOf(kind): ResponseDisposition Map a response body kind to its disposition. The mapping is total and one-directional: an ErrorBody is always "error". Parameters kind ResponseKind The response body kind. Returns ResponseDisposition The disposition. Example dispositionOf("Error"); // "error"