Skip to content

istext("I am text") returns false - rename to istextmime #12872

Closed
@catawbasam

Description

In multimedia.jl, istext() is intended to assess MIME types. But since the istext() is exported, it can be taken out of context and generate counter-intuitive results. Maybe a more descriptive name would be warranted?

From multimedia.jl --

# it is convenient to accept strings instead of ::MIME
istext(m::AbstractString) = istext(MIME(m))

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions