W3cubDocs

/Sass

LegacyValue

LegacyValue: Null | Number | String | Boolean | Color | List | Map

A type representing all the possible values that may be passed to or returned from a LegacyFunction.

Deprecated

This only works with the legacy render and renderSync APIs. Use Value with compile, compileString, compileAsync, and compileStringAsync instead.

© 2006–2025 the Sass team, and numerous contributors
Licensed under the MIT License.
https://sass-lang.com/documentation/js-api/types/LegacyValue